package day01;

import java.util.Arrays;

/**
 * @author feng
 * @Date 2021/9/22 8:25
 */
public class ArrayFill {
    public static void main(String[] args) {
        int[] a1 = new int[10];
        for (int i = 0; i <a1.length ; i++) {
            int num = (int) ((Math.random()*90) + 10);
            Arrays.fill(a1,i,i+1,num);
        }
        for (int i:a1) {
            System.out.println(i + " ");
        }
    }
}
